package ldh.im.base.dao;

import ldh.im.base.pojo.ImGroup;
import ldh.im.base.pojo.where.ImGroupWhere;

import java.util.List;

/**
* @author: ldh
* @date: 2021-06-27 16:37:00
*/
public interface ImGroupDao {

	Integer insert(ImGroup imGroup);

	Integer insertSelective(ImGroup imGroup);

	Integer updateById(ImGroup imGroup);
	
	Integer updateNotNullById(ImGroup imGroup);
	
	Integer deleteById(Long id);

	ImGroup getById(Long id);

	List<ImGroup> findByImGroupWhere(ImGroupWhere imGroupWhere);
	
	Long findTotalByImGroupWhere(ImGroupWhere imGroupWhere);

	List<ImGroup> getAllChangeGroups(ImGroupWhere imGroupWhere);
}
